//@athour Reenu


public class Bicycle
{
	int bicycleId=0;
	String bicycleBrand="";
	String bicycleModel="";
	int bicycleHeight=0;
	int bicyclePrice=0;
	
	boolean bikeSold= false;
	 
	
		
	void  addToInventory(int bikeId,String brand,String model,int height, int price)
	 {
		bicycleId=bikeId;
		System.out.println("bike id= " + bicycleId);
		bicycleBrand=brand;
		System.out.println("brand name= " + bicycleBrand);
		bicycleModel=model;
		System.out.println("model name= " + bicycleModel);
		bicycleHeight=height;
		System.out.println("height = " + bicycleHeight);
		bicyclePrice=price;
		System.out.println("price =  " + bicyclePrice);
		
		
	 }
	 
	void showBikeAvailability(String model, int height)
	{
		if ((bicycleModel==model) && (bicycleHeight==height))
		{
			System.out.println(height + " inch " + model + " is available in store.");			
		}
		else
		{
			System.out.println(height + " inch " + model + " is not available in store.");			
		}
		
	}
	
	void sellBike(int bikeId)
	{
		
		switch(bikeId)
		{
		case 1: 
			{ 
				
				System.out.println("bicycleid " + bicycleId + " is soldout");
				bicycleId=0;
			}
			break;
		case 2 :
			{
				System.out.println("bicycleid " + bicycleId + " is soldout");
				bicycleId=0;
			}
			break;
			default: break;
		}
	}
	 
	
	 
}
